﻿using System;

using Moe.ECamel.Common.Entities;

namespace Moe.ECamel.Common.Contracts
{
	/// <summary>
	/// Encapsulates rental response information.
	/// </summary>
	public class RentalResponse
	{
		private readonly ECamelError _error;
		private readonly Rental _rental;

		public RentalResponse(ECamelError error)
		{
			this._error = error;
		}
		public RentalResponse(Rental rental)
		{
			this._rental = rental;
		}

		public ECamelError Error
		{
			get { return _error; }
		}
		public Rental Rental
		{
			get { return _rental; }
		}
	}
}
